const vat = {
  type: "类别", //类别(0-普通 1-电子 2-卷票(卷票需判断是否有税) 3-全电普通发票 4-全电特殊发票)
  code: "发票代码",
  machineNumber: "机器编号",
  checkCode: "校验码",
  buyerName: "购买方名称",
  // buyerId: "购买方纳税人识别号",
  sellerName: "销售方名称",
  // sellerId: "销售方纳税人识别号",
  subtotalAmount: "总税前金额",
  subtotalTax: "总税额",
  remark: "备注",
};
const type = {
  fully_digitalized_normal_electronic: "全电普通发票",
  fully_digitalized_special_electronic: "全电特殊发票",
  normal: "增值税发票",
  toll: "车辆通行票",
  electronic: "电子普票",
  roll: "增值税发票(卷票)",
};
const invoiceType = {
  vat_invoice: {
    title: "增值税发票",
    type: type,
    data: vat,
  },
  vat_roll_invoice: {
    title: "增值税发票(卷票)",
    type: type,
    data: vat,
  },
  mvs_invoice: {
    title: "机动车发票",
    data: {
      code: "发票代码",
      number: "发票号码",
      issueDate: "填开日期",
      buyerName: "购买方名称",
      // buyerId: "购买方纳税人识别号",
      sellerName: "销售方名称",
      // sellerId: "销售方纳税人识别号",
      vehicleType: "工具类型",
      brandModel: "品牌",
      taxRate: "税率",
      tax: "税额",
      taxExclusivePrice: "税前金额",
      remark: "备注",
    },
  },
  taxi_invoice: {
    title: "出租车发票",
    data: {
      location: "城市",
      taxiNumber: "车牌号",
      boardingTime: "上车时间",
      alightingTime: "下车时间",
      unitPrice: "单位价格",
      distance: "公里数",
      region: "所属行政区名称",
    },
  },
  flight_itinerary: {
    title: "飞机行程单",
    data: {
      status: "状态", //0正常 1改签
      passengerName: "乘客姓名",
      idNumber: "身份证号码",
      fare: "票价",
      caacDevelopmentFund: "机场建设费",
      fuelSurcharge: "燃油费",
      otherTaxes: "其他税费",
      checkCode: "校验码",
      insurance: "保险",
      issueOrganization: "填开单位",
      issueDate: "填开时间",
      // // title: "飞机行程单明细",
      // departureStation: "出发地",
      // departureStation: "出发地",
      // destinationStation: "目的地",
      // carrier: "运输公司",
      // flight: "航班号",
      // cabinClass: "座位等级",
      // dateTime: "起飞时间",
      flightDetails: {
        // title: "飞机行程单明细",
        departureStation: "出发地",
        departureStation: "出发地",
        destinationStation: "目的地",
        carrier: "运输公司",
        flight: "航班号",
        cabinClass: "座位等级",
        dateTime: "起飞时间",
      },
    },
  },
  train_ticket: {
    title: "火车票",
    data: {
      taxiNumber: "车次",
      departureStation: "出发地",
      destinationStation: "到达地",
      departureTime: "发车时间",
      seatCategory: "座位等级",
      name: "乘客姓名",
    },
  },
  toll_invoice: {
    title: "车辆通行票",
    data: {
      code: "发票代码",
      entry: "入口",
      carExit: "出口",
    },
  },
  quota_invoice: {
    title: "定额发票",
    data: {
      location: "位置",
      code: "发票代码",
      companySeal: "公司印章",
    },
  },
};
const expenseType = [
  { label: "异地交通费", value: "remoteTransportation" },
  { label: "交通费", value: "transportation" },
  { label: "通讯费", value: "communication" },
  { label: "住宿费", value: "accommodation" },
  { label: "办公费", value: "office" },
  { label: "加油费", value: "fuel" },
  { label: "快递费", value: "delivery" },
  { label: "水电费", value: "utilities" },
  { label: "招待费", value: "entertainment" },
  { label: "差旅补贴", value: "travelSubsidies" },
  { label: "餐费", value: "meal" },
  { label: "其他", value: "other" },
];
export { invoiceType, expenseType };
